package com.appointment.dto;

import com.appointment.validation.ValueInList;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class TopListRequestDto {

    @NotNull(message = "top数量不能为空")
    @ValueInList(values = {"3", "10"}, message = "top数量只能为3或10")
    private int topNum;

}
